package com.xiaoshuidi.cloud.module.member.controller.admin.programarticle.vo;

import com.xiaoshuidi.cloud.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Data
@Schema(description = "文章分页查询对象")
public class MemberArticlePageVO extends PageParam {
    private static final long serialVersionUID = 3402219783441772332L;

    @Schema(description = "1信息公告2常见问题")
    @NotNull(message = "栏目类型不能为空")
    private Integer programType;

    @Schema(description = "关键词")
    private String keyWord;

    @Schema(description = "栏目ID")
    private Long programId;

    @Schema(description = "栏目名称")
    private String programName;

    @Schema(description = "开始时间")
    private LocalDateTime beginTime;

    @Schema(description = "结束时间")
    private LocalDateTime endTime;
}
